package Project;

/*public class Mian3 {
public static void main(String[] args) {
	int sum = 0, i= 1;
	while (i<10) {
		sum=sum +1;
		i++;
		
		System.out.println("sum is " + sum);
	}
}
}
*/

public class Mian3 {
public static void main(String[] args) {
	long sum = 0, i=0;
	while (i<= 50) {
	sum=sum +i;
		i++;
		System.out.println(i);
	}
}
}
